|
|
On 12 Feb 2005 01:51:48 -0500, "Rafal 'Raf256' Maj" <spa### [at] raf256com> wrote:
> Now extent macro language. Would it be very hard to implement minimalistic
> C-like language interpreter? Then, on some platforms such funcitons could
> be compiled using gcc before rendering to speed it up (someone done this
> patch already, AFAIK it was mostnly for isosurfaces on Linux?). On other
> platforms - it would be interpreted.
... which is exactly functions which are compiled to machine code on some Macs
and compiled to virtual machine on other platform. Moreover examples you gave
already are "possible"
> #function Vector3 ShootRay(float x, float y) {
see user-defined camera in MegaPOV which allow sending rays in any direction.
> #funcion Color Pigment1(float x, float y, float z) {
see images like
http://news.povray.org/povray.binaries.images/attachment/%3C39e71e97%40news.povray.org%3E/escher4.jpg
which are completly procedural
ABX
Post a reply to this message
|
|